from . import news_blu
from flask import session, render_template, current_app


@news_blu.route('/')
def index():
    session['name'] = '2018'
    return render_template('news/index.html')


@news_blu.route('/favicon.ico')
def favicon():
    return current_app.send_static_file('news/favicon.ico')
